home *** CD-ROM | disk | FTP | other *** search
- !---------------------------------------------------------------------!
- ! !
- ! Copyright (c) 1991 !
- ! by CompuServe Incorporated, Columbus, Ohio !
- ! !
- ! The information in this software is subject to change without !
- ! notice and should not be construed as a commitment by CompuServe. !
- ! !
- ! ISTEL Script: !
- ! Connect to Istel !
- ! Success: returns %Success !
- ! Failure: saves error msg in %FailureMsg and returns %Failure !
- ! !
- ! $Revision:: 1.3 $ 1
- ! !
- !---------------------------------------------------------------------!
-
- show "Connecting to ISTEL";
- Tries = 5;
- on cancel goto Return_Cancel;
-
- Wait_Istel:
-
- if Tries = 0 goto Istel_Failure;
- Tries = Tries - 1;
-
- wait
- "Istel" goto Send_Istel_Host,
- "User ID:" goto Return_Success,
- "Host Name:" goto Return_Success
- until 28;
-
- send %CR;
- goto Wait_Istel;
-
- Send_Istel_Host:
-
- send "CIS" & %CR;
- goto Wait_Istel;
-
- Istel_Failure:
- define %FailureMsg = "ISTEL not responding";
- exit %Failure;
-
- Return_Cancel:
- exit %Cancel;
-
- Return_Success:
- exit %Success;
-